A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$hotelname

Filename: controllers/Hotel.php

Line Number: 736

Backtrace:

File: /home/u155065291/domains/hotelcubaresort.com/public_html/application/controllers/Hotel.php
Line: 736
Function: _error_handler

File: /home/u155065291/domains/hotelcubaresort.com/public_html/application/controllers/Hotel.php
Line: 40
Function: details

File: /home/u155065291/domains/hotelcubaresort.com/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$destination

Filename: controllers/Hotel.php

Line Number: 736

Backtrace:

File: /home/u155065291/domains/hotelcubaresort.com/public_html/application/controllers/Hotel.php
Line: 736
Function: _error_handler

File: /home/u155065291/domains/hotelcubaresort.com/public_html/application/controllers/Hotel.php
Line: 40
Function: details

File: /home/u155065291/domains/hotelcubaresort.com/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$category

Filename: controllers/Hotel.php

Line Number: 736

Backtrace:

File: /home/u155065291/domains/hotelcubaresort.com/public_html/application/controllers/Hotel.php
Line: 736
Function: _error_handler

File: /home/u155065291/domains/hotelcubaresort.com/public_html/application/controllers/Hotel.php
Line: 40
Function: details

File: /home/u155065291/domains/hotelcubaresort.com/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$hotelname

Filename: controllers/Hotel.php

Line Number: 737

Backtrace:

File: /home/u155065291/domains/hotelcubaresort.com/public_html/application/controllers/Hotel.php
Line: 737
Function: _error_handler

File: /home/u155065291/domains/hotelcubaresort.com/public_html/application/controllers/Hotel.php
Line: 40
Function: details

File: /home/u155065291/domains/hotelcubaresort.com/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$summary

Filename: controllers/Hotel.php

Line Number: 737

Backtrace:

File: /home/u155065291/domains/hotelcubaresort.com/public_html/application/controllers/Hotel.php
Line: 737
Function: _error_handler

File: /home/u155065291/domains/hotelcubaresort.com/public_html/application/controllers/Hotel.php
Line: 40
Function: details

File: /home/u155065291/domains/hotelcubaresort.com/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$hotelname

Filename: controllers/Hotel.php

Line Number: 739

Backtrace:

File: /home/u155065291/domains/hotelcubaresort.com/public_html/application/controllers/Hotel.php
Line: 739
Function: _error_handler

File: /home/u155065291/domains/hotelcubaresort.com/public_html/application/controllers/Hotel.php
Line: 40
Function: details

File: /home/u155065291/domains/hotelcubaresort.com/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$hotelname

Filename: controllers/Hotel.php

Line Number: 757

Backtrace:

File: /home/u155065291/domains/hotelcubaresort.com/public_html/application/controllers/Hotel.php
Line: 757
Function: _error_handler

File: /home/u155065291/domains/hotelcubaresort.com/public_html/application/controllers/Hotel.php
Line: 40
Function: details

File: /home/u155065291/domains/hotelcubaresort.com/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/u155065291/domains/hotelcubaresort.com/public_html/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /home/u155065291/domains/hotelcubaresort.com/public_html/application/models/Review_hotel_model.php
Line: 123
Function: get

File: /home/u155065291/domains/hotelcubaresort.com/public_html/application/controllers/Hotel.php
Line: 1857
Function: getRatings

File: /home/u155065291/domains/hotelcubaresort.com/public_html/application/controllers/Hotel.php
Line: 760
Function: reviews

File: /home/u155065291/domains/hotelcubaresort.com/public_html/application/controllers/Hotel.php
Line: 40
Function: details

File: /home/u155065291/domains/hotelcubaresort.com/public_html/index.php
Line: 292
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '%7B%7Bpk%7D%7D AND rating = rating.pk_rating AND review.language_code = 'engl...' at line 1

SELECT DISTINCT `rating`.`pk_rating`, (SELECT COUNT(pk_review) FROM review WHERE fk_hotel = %7B%7Bpk%7D%7D AND rating = rating.pk_rating AND review.language_code = 'english' AND review.enabled)as quantity FROM `rating`

Filename: models/Review_hotel_model.php

Line Number: 123